<?php

declare(strict_types=1);
namespace App\Model\Mysql\User;

use App\Model\Model;
use App\Traits\UserTraits;

class User extends Model
{
    protected ?string $table = 'user';
    protected array $casts = [];

    use UserTraits;

    public function __construct(array $attributes = [])
    {
        parent::__construct($attributes);
        // 初始化分表处理
        $this->init($attributes);
    }
}
